Part Number Hot Search : 
11012 564J133 1402C P6KE16 2SC49 BCR16C ABT373 MSP3445G
Product Description
Full Text Search
 

To Download HT6221 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 HT6221/HT6222 Multi-Purpose Encoders
Features
* * * * * * *
Operating voltage: 1.8V~3.5V DOUT with 38kHz carrier for IR medium Low standby current Minimum transmission word: one word 455kHz ceramic resonator or crystal 16-bit address codes 8-bit data codes
* * * *
PPM code method Three double-active keys Maximum active keys - HT6221: 32 keys - HT6222: 64 keys Low power and high noise immunity CMOS technology
Applications
* * * *
Television and video cassette recorder controllers Burglar alarm systems Smoke and fire alarm systems Garage door controllers
* * * *
Car door controllers Car alarm systems Security systems Other remote control systems
General Description
The HT6221/HT6222 are CMOS LSI encoders designed for use in remote control systems. They are capable of encoding 16-bit address codes and 8-bit data codes. Each address/data input can be set to one of the two logic states, 0 and 1. The HT6221/HT6222 contain 32 keys (K1~K32) and 64 keys (K1~K64), respectively. When one of the keys is triggered, the programmed address/data is transmitted together with the header bits via an IR (38kHz carrier) transmission medium.
Block Diagram
X2 X1 D a ta S e le c t & B u ffe r S ync. C ir c u it
O s c illa to r
D iv id e r
DOUT LED
R1
R8
K e y b o a rd M a tr ix & G a te C ir c u it
D a ta R O M & R e g is te r s
2 4 C o u n te r & 1 of24 D ecoder
B in a r y D e te c to r
C1
C8
A IN
D7
VDD
VSS
1
March 2, 2000
HT6221/HT6222
Pin Assignment
R3 R4 R1 1 2 3 4 5 6 7 8 9 10 R2 R3 R4 DOUT VDD D7 X2 X1 VSS 20 19 18 17 16 15 14 13 12 11 A IN C1 C2 C3 C4 C5 C6 C7 C8 LED R5 R6 R7 R8 DOUT VDD D7 X2 X1 VSS 9 10 11 12 8 7 6 5 4 3 2 1 24 23 22 21 20 19 18 17 16 15 14 13 R2 R1 A IN C1 C2 C3 C4 C5 C6 C7 C8 LED
H T6221 2 0 D IP /S O P
HT6222 2 4 D IP /S O P
Pad Assignment
CCS K I3
24
K I2
23
K I1
22
K I0
21
20
19
K IO 0
K I4
1
K I5
2 3
18 17 4 5 (0 ,0 ) 16 15
K IO 1 K IO 2
K I6 K I7 REM
K IO 3 K IO 4
VDD SEL
7 8
6
14
K IO 5
OSCO
9
10
11
12
13
K IO 6
Chip size: 94 104 (mil)2 * The IC substrate should be connected to VDD in the PCB layout artwork.
OSCI
VSS
LM B
K IO 7
2
March 2, 2000
HT6221/HT6222
Pad Coordinates
Pad No. 1 2 3 4 5 6 7 8 9 10 11 12 X -41.99 -41.99 -41.99 -41.99 -41.99 -41.99 -41.99 -41.99 -20.95 -14.32 -4.25 24.31 Y 34.43 22.02 15.39 2.98 -5.61 -28.31 -37.83 -46.88 -46.88 -46.88 -46.88 -46.88 Pad No. 13 14 15 16 17 18 19 20 21 22 23 24 X 34.17 41.95 41.95 41.95 41.95 41.95 39.99 28.26 -11.18 -23.16 -29.79 -39.27 Unit: mil Y -46.88 -30.26 -13.98 -4.12 12.16 22.02 46.84 46.84 46.84 46.84 46.84 46.84
Pin Description
HT6222 Pin No. 1~6 7 8 9 10 11 12 13 14~21 22 23~24 Pin Name R3~R8 DOUT VDD D7 X2 X1 VSS LED C8~C1 AIN R1~R2 I/O I O 3/4 I O I 3/4 O I/O I I Internal Connection CMOS IN Pull-low CMOS OUT 3/4 CMOS IN OSCILLATOR OSCILLATOR 3/4 CMOS OUT CMOS IN/OUT Pull-low CMOS IN Pull-high Pull-low CMOS IN Pull-low Description Row control for keyboard matrix, active high Serial data output pin, with a 38kHz carrier Positive power supply, 1.8V~3.5V for normal operation Most significant data bit (D7) code setting 455kHz resonator oscillator output 455kHz resonator oscillator input Negative power supply Transmission enable indicator output Column control for keyboard matrix Low byte address codes (8 bits) scan input Row control for keyboard matrix, active high
3
March 2, 2000
HT6221/HT6222
Approximate internal connection circuits
C M O S IN /O U T
V
DD
C M O S IN /O U T P u ll- lo w
C M O S IN P u ll- lo w
C M O S IN
CMOS OUT
V
DD
O S C IL L A T O R
X1 10M W EN X2
Absolute Maximum Ratings
Supply Voltage.................................-0.3V to 6V Input Voltage .................VSS-0.3V to VDD+0.3V Storage Temperature.................-50C to 125C Operating Temperature ..............-20C to 75C
Note: These are stress ratings only. Stresses exceeding the range specified under "Absolute Maximum Ratings" may cause substantial damage to the device. Functional operation of this device at other conditions beyond those listed in the specification is not implied and prolonged exposure to extreme conditions may affect device reliability.
Electrical Characteristic
Symbol VDD ISTB IDD IOH1 IOL1 IOH2 IOL2 IOH3 Parameter Operating Voltage Standby Current Operating Current Output Source Current for DOUT Output Sink Current for DOUT Output Source Current for LED Output Sink Current for LED Output Source Current for C1~C8 Test Conditions VDD 3/4 3V 3V 3V 3V 3V 3V 3V Conditions 3/4 Oscillator stops fOSC=455kHz No load VO=2.7V VO=0.3V VO=2.7V VO=0.3V VO=2.7V
Ta=25C Min. Typ. Max. Unit 1.8 3/4 3/4 -2.0 50 -10 1.2 -0.6 3 0.1 200 -4.0 100 -60 2.0 -2.0 3.5 1.0 400 3/4 3/4 3/4 3/4 3/4 V mA mA mA mA mA mA mA
4
March 2, 2000
HT6221/HT6222
Symbol IOL3 VIH1 VIL1 VIH2 VIL2 VIH3 VIL3 RPH1 RPL1 RPL2 RPL3 fOSC Parameter Output Sink Current for C1~C8 Input High Voltage for R1~R8 Input Low Voltage for R1~R8 Input High Voltage for C1~C8 Input Low Voltage for C1~C8 Input High Voltage for AIN Input Low Voltage for AIN Input Pull-high Resistance for AIN Input Pull-low Resistance for AIN Input Pull-low Resistance for R1~R8 Input Pull-low Resistance for C1~C8 System Frequency Test Conditions VDD 3V 3V 3V 3V 3V 3V 3V 3V 3V 3V 3V 3/4 Conditions VO=0.3V 3/4 3/4 3/4 3/4 3/4 3/4 VIN=0V VIN=3V VIN=3V VIN=3V 455kHz ceramic resonator Min. Typ. Max. Unit 10 1.9 0 1.1 0 1.25 0 100 70 120 300 3/4 30 3/4 3/4 3/4 3/4 3/4 3/4 200 150 200 500 455 3/4 3.0 0.8 3.0 0.6 3.0 0.6 400 250 320 1500 3/4 mA V V V V V V kW kW kW kW kHz
Functional Description
Keyboard scan The HT6221/HT6222 remain in the halt mode during the standby state (at this time, the oscillator stops, and the standby current<1mA). The HT6221 consists of 32 active keys, and the HT6222 has 64 active keys. The keyboard forms of the HT6221/ HT6222 are shown below.
* The HT6221 keyboard form
C1 R1 R2 R3 R4 K1 K2 K3 K4 C2 K5 K6 K7 K8 C3 K9 K10 K11 K12 C4 K13 K14 K15 K16 C5 K17 K18 K19 K20 C6 K21 K22 K23 K24 C7 K25 K26 K27 K28 C8 K29 K30 K31 K32
* The HT6222 keyboard form
C1 R1 R2 R3 R4 R5 R6 R7 R8 K1 K2 K3 K4 K33 K34 K35 K36 C2 K5 K6 K7 K8 K37 K38 K39 K40 C3 K9 K10 K11 K12 K41 K42 K43 K44 C4 K13 K14 K15 K16 K45 K46 K47 K48 C5 K17 K18 K19 K20 K49 K50 K51 K52 C6 K21 K22 K23 K24 K53 K54 K55 K56 C7 K25 K26 K27 K28 K57 K58 K59 K60 C8 K29 K30 K31 K32 K61 K62 K63 K64
5
March 2, 2000
HT6221/HT6222
When one of the keys (32 or 64 keys) is triggered for over 36ms, the oscillator is enabled and the chip is activated. If the key is pressed and held for 108ms or less, the 108ms transmission codes are enabled and comprised of a header code (9ms), an off code (4.5ms), low byte address codes (9ms~18ms), high byte address codes (9ms~18ms), 8-bit data codes (9ms~18ms), and the inverse codes of the 8-bit data codes (18ms~9ms). After the pressed key is held for 108ms, if the key is still held down, the transmission codes turn out to be a composition of header (9ms) and off codes (2.5ms) only. Transmission codes The transmission codes of the HT6221/6222 consist of a 9ms header code, a 4.5ms off code, 16-bit address codes (18ms~36ms), 9ms~18ms 8-bit data codes, and the inverse code of the 8-bit data codes. The following is an illustration of the transmission codes:
K e y - in (K 1 ~ K 6 4 ) 3 6 m s m in . X2 Fosc=455kH z 4 .5 m s DOUT 9m s 45m s~63m s (A 0 ~ A 1 5 + D 0 ~ D 7 + D 0 ~ D 7 ) 108m s 9m s 0 .5 6 m s 38kH z, 3 3 % d u ty c a r r ie r 2 .5 m s 108m s 0 .5 6 m s K e y E n a b le s
To avoid mistakes made by keyboard scanning or simultaneous two-key inputs (except for the three double-key active functions (K21+K22, K21+K23, and K21+K24), the HT6221/HT6222 are facilitated with 36ms starting time. The HT6221/HT6222 also provide three double-key active functions (K21+K22, K21+K23, and K21+K24) for tape deck recording operations. The double-key operation rules are shown in timing 4 and timing 6.
9m s
2 .5 m s
Output format for the DOUT The output code carrier of the DOUT pin is shown in Timing 2:
38kH z C a r r ie r 8 .7 7 m s 2 6 .3 m s
38kHz carrier The transmission codes employ the PPM (Pulse Position Modulation) method to represent their two logic states by "0" (1.12ms) and "1" (2.24ms) as shown in Timing 3:
"Z e ro " 0 .5 6 m s d a ta p e r io d ( 1 .1 2 m s ) "O n e " d a ta p e r io d ( 2 .2 4 m s ) 3 8 k H z c a r r ie r 3 8 k H z c a r r ie r
Logic states
6 March 2, 2000
HT6221/HT6222
* Setting the address codes (A0~A15)
The algorithm rule of the address codes (A0~A15) can be selected by mask option. In this case, the 16-bit on-chip MASK ROM (ROM1 and ROM2) are available, and the value of ROM1 (8 bits) and ROM2 (8 bits) are decided by one MASK LAYER. The current value of ROM1 and ROM2 are both "00H". The A0~A7 are set by logical OR between the
external switch S0~S7 and the ROM1. The A8~A15 equal some bits inverted to A0~A7, the inversion are decided by Logical OR between the external switch S8~S15 and the ROM2. For example: The following is an illustration of these rules in selecting the address codes (A0~A15).
A IN C1 C2 C3
H T 6 2 2 1 /H T 6 2 2 2
C4 C5 C6 C7 C8
200kW 8 S8 S9 S10 S11 S12 S13 S14 S15
1N4148 8 S0 S1 S2 S3 S4 S5 S6 S7
( S w itc h O p e n : 0 , S w itc h C lo s e : 1 )
E x te r n a l S w itc h S 0 ~ S 1 5 : O n - c h ip R O M 1 , R O M 2 :
1
0
0 0
0 0
1 0
1 0
0 0
0 0 b it7 0
1
0
1 0
0 0
0 0
1 0
0 0
0 0 b it7
0 0 b it0 1 0
0 0 b it0
A0~A7: A 8 '~ A 1 5 ':
S0~S7 O R RO M 1 0 0 1 1 0
1 A0A1A2 1 1 0 A3 1 A4A5A6 0 1 1 A7 1
0
S8~S15 O R R O M 2 1 0 0 1 0 0 C o m p le m e n t 1 : n o n in v e r s io n 0 : in v e r s io n
A8~A15:
7
March 2, 2000
HT6221/HT6222
* Values of the data codes (D0~D7)
Table 3: Double-key data code table KEY K21+K22 K21+K23 K21+K24 Data Codes D0~D6 1010110 0110110 1110110 Data Code D7 0/1 0/1 0/1
The HT6221/HT6222 contain 32 and 64 active keys, respectively. Each key corresponds to a data code. For tape deck recording, the HT6221/HT6222 provide three double-key functions. The double-key, single-key, and double-key operation rules are shown in Table 3, Table 4, Timing 4, Timing 5 and Timing 6.
Note: D7 is defined by an external switch
Table 4: K1~K64 single-key data code table KEY K1 K2 K3 K4 K5 K6 K7 K8 K9 K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 K20 K21 K22 K23 K24 K25 Data Codes D0~D6 0000 000 1000 000 0100 000 1100 000 0010 000 1010 000 0110 000 1110 000 0001 000 1001 000 0101 000 1101 000 0011 000 1011 000 0111 000 1111 000 0000 100 1000 100 0100 100 1100 100 0010 100 1010 100 0110 100 1110 100 0001 100 Data Code D7 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 KEY K33 K34 K35 K36 K37 K38 K39 K40 K41 K42 K43 K44 K45 K46 K47 K48 K49 K50 K51 K52 K53 K54 K55 K56 K57 Data Codes D0~D6 0000 001 1000 001 0100 001 1100 001 0010 001 1010 001 0110 001 1110 001 0001 001 1001 001 0101 001 1101 001 0011 001 1011 001 0111 001 1111 001 0000 101 1000 101 0100 101 1100 101 0010 101 1010 101 0110 101 1110 101 0001 101 Data Code D7 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1
8
March 2, 2000
HT6221/HT6222
KEY K26 K27 K28 K29 K30 K31 K32 Data Codes D0~D6 1001 100 0101 100 1101 100 0011 100 1011 100 0111 100 1111 100 Data Code D7 0/1 0/1 0/1 0/1 0/1 0/1 0/1 KEY K58 K59 K60 K61 K62 K63 K64 Data Codes D0~D6 1001 101 0101 101 1101 101 0011 101 1011 101 0111 101 1111 101 Data Code D7 0/1 0/1 0/1 0/1 0/1 0/1 0/1
Note: D7 is defined by an external switch D7=0 : connect to VDD D7=1 : connect to VSS
K 2 1 In p u t Km In p u t 36m s< t<126m s 36m s 1 0 8 m s ( m in .) DOUT 36m s K21 Km
K 2 1 c o d e tr a n s m is s io n (a )
K 2 1 In p u t Km In p u t 0< t<36m s DOUT
K21 Km N o tr a n s m is s io n (b ) K21 0< t<36m s
K 2 1 In p u t
Km
In p u t
Km N o tr a n s m is s io n (c ) K21 Km 36m s< t<126m s 36m s 1 0 8 m s ( m in .) Km c o d e tr a n s m is s io n (d ) 36m s
DOUT
K 2 1 In p u t Km In p u t
DOUT
Invalid double-key input
9 March 2, 2000
HT6221/HT6222
K n In p u t 36m s DOUT Kn t>108m s K n c o d e tr a n s m is s io n (a )
K n In p u t 36m s DOUT
Kn t<108m s 108m s K n c o d e tr a n s m is s io n (b )
Note: Kn can be one of K1~K64 Valid single-key input
K 2 1 In p u t Km In p u t 36m s 36m s DOUT t>126m s K 2 1 c o d e tr a n s m is s io n 1 0 8 m s ( m in .) K 21+K m code tr a n s m is s io n
K21 Km
Note: Km can be one of K22~K24 Valid double-key input
DOUT and LED After the transmission codes are sent, the DOUT pin generates transmission codes with a carrier, and the LED goes low to drive a transmission indicator.
10
March 2, 2000
HT6221/HT6222
Application Circuits
Application circuit 1
V
DD
1 .8 V ~ 3 .5 V 4 7 m F /1 6 V 330W 100pF 100pF LED 455kH z c e r a m ic r e s o n a to r 9 X1 7 D7 C1 51kW 8 19 C2 18 C3 17 C4 16 C5 15 X2 8 11 6 VDD DOUT VSS C8 13 12 R1 1 R2 2 R3 3 R4 4 A IN 20 10 LED 5 47W 1kW 8050 In fra re d
HT6221
C6 14 C7
K1 K2 K3 K4
K5 K6 K7 K8
K9 K10 K11 K12
K13 K14 K15 K16
K17 K18 K19 K20
K21 K22 K23 K24
K25 K26 K27 K28
K29 K30 K31 K32 1N 41488
Note: Typical infrared diode: EL-1L2 (KODENSHI CORP.)
11
March 2, 2000
HT6221/HT6222
Application circuit 2
V
DD
1 .8 V ~ 3 .5 V 4 7 m F /1 6 V 330W 100pF 100pF 455kH z c e r a m ic r e s o n a to r 11 X1 9 D7 C1 51kW 8 21 C2 20 C3 19 C4 18 C5 17 C6 16 C7 15 X2 10 13 LED 8 VDD 7 DOUT VSS R2 23 24 R3 1 R4 2 R5 3 R6 4 R7 5 R8 6 A IN 22 12 47W 1kW 8050 In fra re d
HT6222
C8 14 R1
K1 K2 K3 K4 K33 K34 K35 K36
K5 K6 K7 K8 K37 K38 K39 K40
K9 K10 K11 K12 K41 K42 K43 K44
K13 K14 K15 K16 K45 K46 K47 K48
K17 K18 K19 K20 K49 K50 K51 K52
K21 K22 K23 K24 K53 K54 K55 K56
K25 K26 K27 K28 K57 K58 K59 K60
K29 K30 K31 K32 K61 K62 K63 K64 1N 41488
Note: Typical infrared diode: EL-1L2 (KODENSHI CORP.)
12
March 2, 2000
HT6221/HT6222
Holtek Semiconductor Inc. (Headquarters) No.3 Creation Rd. II, Science-based Industrial Park, Hsinchu, Taiwan, R.O.C. Tel: 886-3-563-1999 Fax: 886-3-563-1189 Holtek Semiconductor Inc. (Taipei Office) 5F, No.576, Sec.7 Chung Hsiao E. Rd., Taipei, Taiwan, R.O.C. Tel: 886-2-2782-9635 Fax: 886-2-2782-9636 Fax: 886-2-2782-7128 (International sales hotline) Holtek Semiconductor (Hong Kong) Ltd. RM.711, Tower 2, Cheung Sha Wan Plaza, 833 Cheung Sha Wan Rd., Kowloon, Hong Kong Tel: 852-2-745-8288 Fax: 852-2-742-8657 Copyright O 2000 by HOLTEK SEMICONDUCTOR INC. The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable without further modification, nor recommends the use of its products for application that may present a risk to human life due to malfunction or otherwise. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information, please visit our web site at http://www.holtek.com.tw.
13
March 2, 2000


▲Up To Search▲   

 
Price & Availability of HT6221

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X